<?php

$DocRoot = $_SERVER['DOCUMENT_ROOT'];
include_once "$DocRoot/woflow/model/user.php";

class UserController
{
	public function get($args)
	{
		$user = new User(true);
		print json_encode($user->get($args));
	}

	public function getList($args)
	{

	}
}

class ControllerFactory
{
	public function getController()
	{
		return new UserController();
	}
}

?>
